package com.google.code.jmarias.client.components;

import com.google.code.jmarias.client.Entity;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.state.StateBasedGame;

public abstract class AbstractComponent {
    protected int id;
    protected Entity owner;
    
    public int getId() {
        return id;
    }

    public void setOwnerEntity(Entity owner) {
        this.owner = owner;
    }

    public abstract void update(GameContainer gc, StateBasedGame sb, int delta);


}
